package com.hdoit.ares.logical.insu.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import com.hdoit.ares.logical.insu.dao.IFanhuaCarBusinessRiskKindsDao;
import com.hdoit.ares.logical.insu.model.FanhuaCarBusinessRiskKinds;
import com.tennetcn.common.dao.base.IFinderExpression;
import com.tennetcn.common.dao.base.impl.SuperDao;
import com.tennetcn.common.utils.FinderExpressionFactory;
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年11月13日 09:46:07
 * @comment
 */
@Component
public class FanhuaCarBusinessRiskKindsDaoImpl extends SuperDao<FanhuaCarBusinessRiskKinds> implements IFanhuaCarBusinessRiskKindsDao{
	
	@Override
	public List<FanhuaCarBusinessRiskKinds> queryModelByOid(String oid) {
		IFinderExpression finderExpression=FinderExpressionFactory.createExpression();
		finderExpression.select("*")
						.from(FanhuaCarBusinessRiskKinds.class)
						.andEq("oid",oid);
	    return queryList(finderExpression);
	}
}